


import React, { Dispatch, FC, SetStateAction, useEffect, useState } from "react"

const UsePagination = <T,> (props:T ):[T,Dispatch<SetStateAction<T>>] => {

  const [num, setNum] = useState<T>(props)

  return [num, setNum] 
}
export default UsePagination